package com.dycong.common.strategy;

import com.dycong.common.strategy.support.BizModuleEnum;
import com.dycong.common.strategy.support.Strategyable;

/**
 * 抽奖逻辑策略服务
 *
 * @author stxc
 * @CreateDate: 2019/3/29
 * @Version: 1.0
 */
@Strategy(bizType = BizModuleEnum.ONE)
public interface StrategyService extends Strategyable {

    /**
     * 抽奖逻辑
     *
     * @param suid      抽奖用户
     * @param userId
     * @param phone     用户登录随手记手机号（跟贷款绑定的手机号有区别）
     * @param extParams 抽奖扩展参数
     * @return
     */
    DoDrawResultBO doDraw(String suid, Long userId, String phone, Object... extParams) throws Exception;
}
